﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XSTDZ.ERP.Domain.Models
{
    /// <summary>
    /// UI资源
    /// </summary>
   public partial class UiPermission
    {

       public UiPermission InitUiPermission()
       {
           if (this.Id == null || this.Id.Equals(Guid.Empty))
           {
               this.Id = Guid.NewGuid();
           }
           if (string.IsNullOrEmpty(this.ImagePath))
           {
               this.ImagePath = "";
           }
           return this;
       }
    }
}
